SCLASSPATH = ./:./drivers

all: compile-src 

compile-src: compile-drivers tool_process_killer.class tool_remove_hostkey.class tool_emacs_assistance.class
#	scalac -classpath $(SCLASSPATH) install_scim_input_method.scala
#	scalac -classpath $(SCLASSPATH) tool_svn_cleaner.scala 

compile-drivers: 
	$(MAKE) -C drivers 

tool_remove_hostkey.class: tool_remove_hostkey.scala
	scalac -classpath $(SCLASSPATH) tool_remove_hostkey.scala

tool_process_killer.class: tool_process_killer.scala
	scalac -classpath $(SCLASSPATH) tool_process_killer.scala

tool_emacs_assistance.class: tool_emacs_assistance.scala
	scalac -classpath $(SCLASSPATH) tool_emacs_assistance.scala 

test: 
#	scala  -classpath $(SCLASSPATH) install_scim_input_method
#	scala  -classpath $(SCLASSPATH) tool_svn_cleaner
# 	scala  -classpath $(SCLASSPATH) tool_remove_hostkey
#	scala  -classpath $(SCLASSPATH) tool_process_killer process_keyword
	scala  -classpath $(SCLASSPATH) tool_emacs_assistance add-cuda-syntax
	scala  -classpath $(SCLASSPATH) tool_emacs_assistance set-frame-width
	scala  -classpath $(SCLASSPATH) tool_emacs_assistance set-frame-height


clean:
	-rm *.class
	-rm *~
